//
//  AddNoteView.h
//  geoNotes
//
//  Created by Administrator on 6/24/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
@protocol AddNoteViewDelegate
-(void) addNoteViewDidFinish:(UIViewController*)controller withTitle:(NSString*)title andMessage:(NSString*)message;
-(void) addNoteViewDidFinishWithCancel;
@end

@interface AddNoteView : UIViewController<CLLocationManagerDelegate> {
    
    UITextField *titleField;
    UITextView *messageField;
}
@property (nonatomic, assign) id <AddNoteViewDelegate> delegate;
@property (nonatomic, retain) IBOutlet UITextField *titleField;
@property (nonatomic, retain) IBOutlet UITextView *messageField;
@property (nonatomic,retain) CLLocationManager *locationManager;
- (IBAction)onSave:(id)sender;
- (IBAction)onCancel:(id)sender;

@end
